<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Onaylama.aspx.cs" Inherits="OnlineAnadolu.Onaylama" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/css/default.css"
        rel="stylesheet" type="text/css" />
    <link href="/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/css/default.css"
        rel="stylesheet" type="text/css" />
</head>
<body style="text-align:center">
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        &nbsp;</div>
        <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" ActiveStepIndex="1" CreateUserButtonText="Devam" FinishCompleteButtonText="Devam" Height="10px" InvalidEmailErrorMessage="" OnCreatedUser="CreateUserWizard1_CreatedUser" RequireEmail="False" Width="451px" OnFinishButtonClick="CreateUserWizard1_FinishButtonClick" OnPreviousButtonClick="CreateUserWizard1_PreviousButtonClick">
            <WizardSteps>
                <asp:CreateUserWizardStep runat="server">
                    <ContentTemplate>
                        <table border="0" style="font-size: 100%; width: 339px; height: 10px">
                            <tr>
                                <td align="center" colspan="2">
                                    Sign Up for Your New Account</td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label></td>
                                <td align="left">
                                    <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                        ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label></td>
                                <td align="left">
                                    <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                        ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword">Confirm Password:</asp:Label></td>
                                <td align="left">
                                    <asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" ControlToValidate="ConfirmPassword"
                                        ErrorMessage="Confirm Password is required." ToolTip="Confirm Password is required."
                                        ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Onay Kodu:</td>
                                <td align="left">
                                    <asp:TextBox runat="server" ID="tb_Onay_Kodu" MaxLength="10" />
                                    <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator3" ControlToValidate="tb_Onay_Kodu"
                     ErrorMessage="*" ValidationExpression="^\d{3}-\d{2}-\d{4}$" /></td>
                            </tr>
                            <tr>
                                <td align="right">
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2">
                                    <asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password"
                                        ControlToValidate="ConfirmPassword" Display="Dynamic" ErrorMessage="The Password and Confirmation Password must match."
                                        ValidationGroup="CreateUserWizard1"></asp:CompareValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2" style="color: red">
                                    &nbsp;</td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </asp:CreateUserWizardStep>
                <asp:WizardStep ID="CreateUserWizardStep0" runat="server">
               
                
                <table>
                    <tr>
                
                 <th>Onaylama Kodu Giris</th>
                    </tr>
                  <tr>
           
            <td style="height: 26px">Kullanici Adi:         
             </td>
            <td style="height: 26px" align="left">
                <asp:TextBox runat="server" ID="tb_KullaniciAdi" MaxLength="50" />
                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="tb_KullaniciAdi"
                     ErrorMessage="*" />
            </td>

           
        </tr>
                    <tr>
                        <td style="height: 14px">
                            Onay Kodu:</td>
                        <td align="left" style="height: 14px">
                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <br />
                    <asp:TextBox runat="server" ID="tb_Onay_Kodu" MaxLength="10" AutoPostBack="True" OnTextChanged="tb_Onay_Kodu_TextChanged" Width="121px" />
            <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="*" MaximumValue="65535"
                MinimumValue="1000" Type="Integer" ControlToValidate="tb_Onay_Kodu"></asp:RangeValidator>
                    <asp:Label ID="lb_Error" runat="server"></asp:Label>
                </ContentTemplate>
            </asp:UpdatePanel>
                            &nbsp;
                        </td>
                    </tr>
        <tr>
        <td style="height: 26px">
        Sifre:
        </td>
        <td style="height: 26px" align="left">
        <asp:TextBox runat="server" ID="tb_Sifre" MaxLength="50" TextMode="Password" />
                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator2" ControlToValidate="tb_Sifre"
                     ErrorMessage="*" />
        </td>
        
        </tr>
        <tr>
        <td>
        Sifre Tekrari:
        </td>
        <td align="left">
          <asp:TextBox runat="server" ID="tb_SifreTekrari" MaxLength="50" TextMode="Password" />
                <asp:CompareValidator ID="cpr_vali_sifre" runat="server" ControlToCompare="tb_Sifre" ControlToValidate="tb_SifreTekrari" ErrorMessage="*"></asp:CompareValidator>
        </td>
        </tr>
      

                </table>
                
</asp:WizardStep>              
  <asp:CompleteWizardStep runat="server">
      <ContentTemplate>
          <table border="0" style="font-size: 100%; width: 451px; height: 10px">
              <tr>
                  <td align="center" colspan="2">
                      Basariyla tamamlandi</td>
              </tr>
              <tr>
                  <td>
                      Aktivite oldunuz.</td>
              </tr>
              <tr>
                  <td align="right" colspan="2">
                      <asp:Button ID="ContinueButton" runat="server" CausesValidation="False" CommandName="Continue"
                          Text="Ana Sayfa" ValidationGroup="CreateUserWizard1" />
                  </td>
              </tr>
          </table>
      </ContentTemplate>
                </asp:CompleteWizardStep>
            </WizardSteps>
        </asp:CreateUserWizard>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:shoppingConnectionString %>">
           
            
        </asp:SqlDataSource>
        &nbsp; &nbsp; &nbsp;<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
        </asp:GridView>
        <CR:CrystalReportSource ID="CrystalReportSource3" runat="server">
            <Report FileName="CrystalReport3.rpt">
            </Report>
        </CR:CrystalReportSource>
        <CR:CrystalReportSource ID="CrystalReportSource2" runat="server">
            <Report FileName="CrystalReport2.rpt">
            </Report>
        </CR:CrystalReportSource>
        <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
            <Report FileName="CrystalReport1.rpt">
            </Report>
        </CR:CrystalReportSource>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        <asp:Button ID="Button1" runat="server" Text="Button" />
    </form>
</body>
</html>
